from fastapi import APIRouter

from app.api.api_v1.endpoints import users, auth, projects, tasks, risks, issues, resources, documents, reports, notifications

api_router = APIRouter()

# 认证相关路由
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])

# 用户相关路由
api_router.include_router(users.router, prefix="/users", tags=["users"])

# 项目相关路由
api_router.include_router(projects.router, prefix="/projects", tags=["projects"])

# 任务相关路由
api_router.include_router(tasks.router, prefix="/tasks", tags=["tasks"])

# 风险相关路由
api_router.include_router(risks.router, prefix="/risks", tags=["risks"])

# 问题相关路由
api_router.include_router(issues.router, prefix="/issues", tags=["issues"])

# 资源相关路由
api_router.include_router(resources.router, prefix="/resources", tags=["resources"])

# 文档相关路由
api_router.include_router(documents.router, prefix="/documents", tags=["documents"])

# 报表相关路由
api_router.include_router(reports.router, prefix="/reports", tags=["reports"])

# 通知相关路由
api_router.include_router(notifications.router, prefix="/notifications", tags=["notifications"])